package com.oj.system.domain.sysuser.dto;

import com.oj.common.mybatis.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * @Description
 * @Author bin
 * @Date 2025/4/3
 */
@Data
public class SysUserSaveDTO extends BaseEntity {

    @Schema(description = "用户账号")
    @NotNull
    @Min(6)
    private String userAccount;

    @Schema(description = "用户密码")
    @Min(7)
    private String password;
}
